package com.xxxx.service;

import com.xxxx.dao.personmanagemenMapper;
import com.xxxx.model.personmanagement;

import java.util.List;

public class personmanagementServiceImp implements PersonmanagementService {

private personmanagemenMapper personmanagemenMapper;

    public void setPersonmanagemenMapper(com.xxxx.dao.personmanagemenMapper personmanagemenMapper) {
        this.personmanagemenMapper = personmanagemenMapper;
    }

    public int addperson(personmanagement personmanagement) {
        return personmanagemenMapper.addperson(personmanagement);
    }

    public int deleteperson() {
        return 0;
    }

    public List<personmanagement> queryAllperson() {
        return personmanagemenMapper.queryAllperson();
    }

    public List<personmanagement> queryperson(String partname) {
        return personmanagemenMapper.queryperson(partname) ;
    }
}

